package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 房间马甲设置
 * </p>
 *
 * @author Gnc
 * @since 2025-01-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_room_user_post_permission")
@ApiModel(value = "RoomUserPostPermission对象", description = "房间马甲设置")
public class RoomUserPostPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("房间职位权限关联id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("职位id")
    private Long userPostId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("权限id")
    private Long permissionId;

    @ApiModelProperty("房间id")
    private Long roomId;
}
